package mju.cn.sixweek.entity;

/**
 * @program: java-ee_31
 * @description:
 * @author: HP
 * @time: 2020/10/20 17:17
 */
public class Role {
    private int id;
    private String name;
    private double money;

    public Role() {

    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public Role(int id, double money) {
        this.id = id;
        this.money = money;
    }

    public Role(int id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "Role{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", money=" + money +
                '}';
    }
}
